<div class="container">
    <legend><h3>申请审核记录</h3></legend>
    <table class="table table-bordered ">
        <tr class="th">
            <td>序号</td>
            <td widtd="10%" >项目名称</td>
            <td widtd="8%">负责人</td>
            <td widtd="10%">联系方式</td>
            <td widtd="10%">项目人数</td>
            <td widtd="8%" >位子数</td>
            <td widtd="12%">开始时间</td>
            <td widtd="12%">结束时间</td>
            <td widtd="12%">提交时间</td>
            <td widtd="10%">备注</td>
            <td widtd="8">操作</td>
        </tr>
        <?php foreach (history_site() as $key => $value): ?>
            <tr>
                <td><?php echo $key + 1; ?></td>
                <td><?php echo htmlspecialchars($value['activity']); ?></td>
                <td><?php echo htmlspecialchars($value['leader']); ?></td>
                <td><?php echo htmlspecialchars($value['number']); ?></td>
                <td><?php echo $value['sum_member']; ?></td>
                <td><?php echo $value['sum']; ?></td>
                <td><?php echo $value['time_from']; ?></td>
                <td><?php echo $value['time_to']; ?></td>
                <td><?php echo $value['apply_time']; ?></td>
                <td><?php echo htmlspecialchars($value['detail']); ?></td>
                <td>
                    <?php
                    switch ($value['status']) {
                        case 1: echo '已同意';
                            break;
                        case -1: echo '已拒绝';
                            break;
                    }
                    ?>
                </td>
            </tr>
        <?php endforeach; ?>
    </table>
</div>